//
//  TalkfunCourseParams.h
//  CloudLiveSDK
//
//  Created by moRui on 2024/8/21.
//

#import <Foundation/Foundation.h>



//--------------------------
@interface TalkfunNowCourseDataUpPower : NSObject
/** 否允许 申请连麦 1是 0否  **/
@property (nonatomic,assign)NSInteger apply;
/** 否允许 邀请连麦 1是 0否 **/
@property (nonatomic,assign)NSInteger invite;
@end

@interface TalkfunNowCourseData : NSObject

/**课程ID*/
@property (nonatomic,copy) NSString *course_id;
/**课程名称*/
@property (nonatomic,copy) NSString *course_name;
/**开始时  08-19 13:50*/
@property (nonatomic,copy) NSString *start_time;
//结束时间 08-19 15:10
@property (nonatomic,copy) NSString *end_time;
/**状态：1为未到直播时间，2为在直播时间段内，3为已过直播时间*/
@property (nonatomic,assign) NSInteger status;

/**完整的开始时间 2023-10-07 10:40:00*/
@property (nonatomic,copy) NSString *start_time_detail;//
/**完整的结束时间 2023-10-07 11:00:00*/
@property (nonatomic,copy) NSString *end_time_detail;
/**直播类型  5讲师  2大班  3小班  6大班互动 **/
@property (nonatomic,copy) NSString *mode_type;
/**小班类型 smallType 字段，0：非小班，1：双人，2：1V6 模式，3：1V16模式*/
@property (nonatomic,copy) NSString* small_type;

/**开播模式    0预设直播 1一键开播  **/
@property (nonatomic,assign)NSInteger liveMode;
/**pageViewMode 生活直播专用
 0二分屏  横屏
 1竖屏
 2课件模式
 3三分屏
 **/
@property (nonatomic,assign) NSInteger pageViewMode;
/**结束时间的时间戳 1724051400**/
@property (nonatomic,assign) NSInteger ori_end_time;
/**直播场景：1.教育直播，2.生活直播**/
@property (nonatomic,assign)NSInteger scenes;
/**上次开始直播时的时间, 示例:1724227864,默认:0
   曾经直播过,不能再编辑*/
@property (nonatomic,assign) NSInteger live_stime;

//----------自定义视频互动-----
/**小班自定义连麦人数 0否 1是**/
@property (nonatomic,assign) NSInteger small_course_custom;
/**自定义连麦人数**/
@property (nonatomic,assign) NSInteger upLimit;
/**自动连麦  手动连麦**/
@property (nonatomic,assign) NSInteger autoUp;
/**连麦 配置**/
@property (nonatomic, strong) TalkfunNowCourseDataUpPower *upPower;

@end


@interface TalkfunNowCourse : NSObject

@property (nonatomic, assign) NSInteger timestamp;
@property (nonatomic, strong) TalkfunNowCourseData *data;

@end


@interface TalkfunLiveConfigData : NSObject
/**开播模式    0预设直播    1一键开播**/
@property (nonatomic,assign) NSInteger liveMode;
/**是否显示大班模式 0否   1是 **/
@property (nonatomic,assign) NSInteger is_show_big_mode;
@end

@interface TalkfunLiveConfig : NSObject
@property (nonatomic, assign) NSInteger timestamp;
@property (nonatomic, strong) TalkfunLiveConfigData *data;
@end
//--------------------------
@interface TalkfunRoomLoginInfoDataConfig : NSObject
@property (nonatomic,assign) NSInteger nicknameType2pass;
@property (nonatomic,copy) NSString *pageContent;
@property (nonatomic,copy) NSString *thumb;
@property (nonatomic,copy) NSString *collectConfig;
@property (nonatomic,assign) NSInteger avatarType;
@property (nonatomic,assign) NSInteger nicknameType;
@property (nonatomic,assign) NSInteger loginType;
@property (nonatomic,strong) NSMutableArray <NSNumber*>* loginMethod;
@end
@interface TalkfunRoomLoginInfoData : NSObject
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, assign) NSInteger type;
@property (nonatomic, assign) NSInteger updateTime;
@property (nonatomic, assign) NSInteger cid;
@property (nonatomic, strong) TalkfunRoomLoginInfoDataConfig *config;
@end
@interface TalkfunRoomLoginInfo : NSObject
@property (nonatomic, assign) NSInteger timestamp;
//缓存
@property (nonatomic, assign) NSInteger cache;
@property (nonatomic, strong) TalkfunRoomLoginInfoData *data;
@end

//------验证账号是否在直播--------------------
@interface TalkfunverifyLivingOrNot : NSObject
@property (nonatomic, assign) NSInteger timestamp;
@end

//------
@interface TalkfunCourseEditData : NSObject
@property (nonatomic,copy) NSString *course_name;
@property (nonatomic, assign) NSInteger timestamp;
@end
@interface TalkfunCourseEdit : NSObject
@property (nonatomic, strong) TalkfunCourseEditData *data;
@property (nonatomic, assign) NSInteger timestamp;
@end
//------
@interface TalkfunCreateCurriculumData : NSObject
/**直播场景：1.教育直播，2.生活直播**/
@property (nonatomic, assign) NSInteger scenes;
@property (nonatomic, assign) NSInteger partner_id;
@property (nonatomic, assign) NSInteger bid;
@property (nonatomic,copy) NSString *course_name;
@property (nonatomic,copy) NSString *departmentID;
/**开始时  08-19 13:50*/
@property (nonatomic, copy) NSString* start_time;
@property (nonatomic, assign) NSInteger user_key;
@property (nonatomic, copy) NSString* zhubo_key;
@property (nonatomic, assign) NSInteger end_time;
@property (nonatomic, copy) NSString* admin_key;
@property (nonatomic, copy) NSString *add_time;
@property (nonatomic,copy) NSString *course_id;
@property (nonatomic, assign) NSInteger updateTime;
@end

@interface TalkfunCreateCurriculum : NSObject
@property (nonatomic, strong) TalkfunCreateCurriculumData *data;
@property (nonatomic, assign) NSInteger timestamp;
@end
//----------------
@interface TalkfunCourseInfoData : NSObject
@property (nonatomic,copy) NSString *voteTotal;
//结束时间 08-19 15:10
@property (nonatomic,copy) NSString *end_time;
/**课程ID*/
@property (nonatomic,copy) NSString *course_id;
@property (nonatomic,copy) NSString *flowerTotal;
@property (nonatomic,copy) NSString *livePv;
@property (nonatomic,copy) NSString *liveUvPeak;
@property (nonatomic,copy) NSString *sid;
@property (nonatomic,copy) NSString *chatTotal;
@property (nonatomic,copy) NSString *duration;
@property (nonatomic,copy) NSString *bid;
@property (nonatomic,copy) NSString *zhubo_key;
@property (nonatomic,copy) NSString *lotteryTotal;
@property (nonatomic,copy) NSString *thumb;
@property (nonatomic,copy) NSString *user_key;
@property (nonatomic,copy) NSString *is_deleted;
@property (nonatomic,copy) NSString *add_time;
@property (nonatomic,assign) NSInteger isVodLive;
@property (nonatomic,copy) NSString *course_name;
@property (nonatomic,copy) NSString *partner_id;
@property (nonatomic,copy) NSString *admin_key;
@property (nonatomic,copy) NSString *updateTime;
/**上次开始直播时的时间, 示例:1724227864,默认:0
   曾经直播过,不能再编辑*/
@property (nonatomic,copy) NSString *live_stime;
@property (nonatomic,copy) NSString *departmentID;
@property (nonatomic,copy) NSString *liveUv;
/**小班类型 smallType 字段，0：非小班，1：双人，2：1V6 模式，3：1V16模式*/
@property (nonatomic,copy) NSString *small_type;
/**状态：1为未到直播时间，2为在直播时间段内，3为已过直播时间*/
@property (nonatomic,copy) NSString *status;
@property (nonatomic,copy) NSString *questionTotal;
@property (nonatomic,copy) NSString *pbUv;
/**pageViewMode 生活直播专用
 0二分屏  横屏
 1竖屏
 2课件模式
 3三分屏
 **/
@property (nonatomic,assign) NSInteger pageViewMode;
@property (nonatomic,copy) NSString *clipid;
/**直播场景：1.教育直播，2.生活直播**/
@property (nonatomic,copy) NSString *scenes;
/**开始时  08-19 13:50*/
@property (nonatomic,copy) NSString *start_time;
@property (nonatomic,copy) NSString *live_etime;
/**直播类型  5讲师  2大班  3小班  6大班互动 **/
@property (nonatomic,copy) NSString *mode_type;
@property (nonatomic,copy) NSString *pbPv;
@end
@interface TalkfunCourseInfo : NSObject
@property (nonatomic, strong) TalkfunCourseInfoData *data;
@property (nonatomic, assign) NSInteger timestamp;
@end

//-----------------
@interface TalkfunThumb : NSObject
@property (nonatomic,copy) NSString *ext;
@property (nonatomic,assign) NSInteger timestamp;
@property (nonatomic,copy) NSString *image;
@property (nonatomic,copy) NSString *H5;
@property (nonatomic,copy) NSString *md5;
@end



@interface TalkfunCourseParams : NSObject

@end

